package com.ym.soso.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.common.utils.covert.SystemUserCovert;
import com.ym.soso.enums.PublishStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 健康科普对象 app_health_plate
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("健康科普-列表")
@Data
public class AppHealthPlateListPcVO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键")
	private Long id;

	@ApiModelProperty("父级标签")
	private String parentTag;

	@ApiModelProperty("子标签")
	private String tag;

	@ApiModelProperty("标题")
	private String title;

	@ApiModelProperty("图片")
	private String bannerImg;

	@ApiModelProperty("作者")
	private String author;

	@ApiModelProperty("简介")
	private String simple;

	@ApiModelProperty("发布时间")
	private Date publishTime;

	@ApiModelProperty("阅读量")
	private Integer readNum;

	@ApiModelProperty("转发量")
	private Integer forwardNum;

	@ApiModelProperty("状态 00未发布01已发布")
	@JsonSerialize(converter = PublishStatusEnum.Covert.class)
	private String publishStatus;

	@ApiModelProperty("排序")
	private Integer sortNum;

	@ApiModelProperty("创建时间")
	private Date createTime;

	@ApiModelProperty("创建人")
	@JsonSerialize(converter = SystemUserCovert.class)
	private Long createPerson;

	@ApiModelProperty(notes = "发布人")
	@JsonSerialize(converter = SystemUserCovert.class)
	private Long publisher;

	@ApiModelProperty("父级标签")
	private String parentTagName;

	@ApiModelProperty("子标签")
	private String tagName;

}
